import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//全局引入echart插件
import echarts from 'echarts';
//引入axios
import axios from '@/request/https';
import VueAxios from 'vue-axios';
//引入avue
// import Avue from '@smallwei/avue';
// Vue.use(Avue);

Vue.use(VueAxios, axios)
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);
Vue.config.productionTip = false;


new Vue({
  router,
  store, //store:store 和router一样，将我们创建的Vuex实例挂载到这个vue实例中
  render: h => h(App)
}).$mount('#app')
